/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * FrmPesquisaPagar.java
 *
 * Created on 03/11/2009, 19:04:19
 */

package contaspagar.telas;

import java.awt.Image;
import java.awt.Toolkit;
import java.net.URL;
import javax.swing.UIManager;

/**
 *
 * @author Gabi
 */
public class FrmPesquisaPagar extends javax.swing.JFrame {

    /** Creates new form FrmPesquisaPagar */
    public FrmPesquisaPagar() {
        initComponents();
        setLocationRelativeTo(this);
        setVisible(true);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        situacaobuttonGroup = new javax.swing.ButtonGroup();
        jPanel1 = new javax.swing.JPanel();
        consultaPeriodojPanel = new javax.swing.JPanel();
        jDateChooser1 = new com.toedter.calendar.JDateChooser();
        jLabel1 = new javax.swing.JLabel();
        jDateChooser2 = new com.toedter.calendar.JDateChooser();
        SituacaojPanel = new javax.swing.JPanel();
        jRadioButton1 = new javax.swing.JRadioButton();
        jRadioButton2 = new javax.swing.JRadioButton();
        jRadioButton3 = new javax.swing.JRadioButton();
        jPanel4 = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jDateChooser3 = new com.toedter.calendar.JDateChooser();
        jDateChooser4 = new com.toedter.calendar.JDateChooser();
        jLabel4 = new javax.swing.JLabel();
        jPanel5 = new javax.swing.JPanel();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Pesquisa de Contas a Pagar");
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        URL url = this.getClass().getResource("/imagens/logo_mini.png");
        Image imagemTitulo = Toolkit.getDefaultToolkit().getImage(url);
        this.setIconImage(imagemTitulo);
        try{
            UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");
        }catch (Exception e){
            e.printStackTrace();
        }
        jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        consultaPeriodojPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Consulta por Periodo"));
        consultaPeriodojPanel.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
        consultaPeriodojPanel.add(jDateChooser1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 20, 110, -1));

        jLabel1.setText("até");
        consultaPeriodojPanel.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 23, -1, -1));
        consultaPeriodojPanel.add(jDateChooser2, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 20, 110, -1));

        jPanel1.add(consultaPeriodojPanel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 20, 300, 50));

        SituacaojPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Situação"));
        SituacaojPanel.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        situacaobuttonGroup.add(jRadioButton1);
        jRadioButton1.setText("Liquidado");
        SituacaojPanel.add(jRadioButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 20, -1, -1));

        situacaobuttonGroup.add(jRadioButton2);
        jRadioButton2.setText("Em Aberto");
        SituacaojPanel.add(jRadioButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 20, -1, -1));

        situacaobuttonGroup.add(jRadioButton3);
        jRadioButton3.setText("Ambos");
        SituacaojPanel.add(jRadioButton3, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 20, -1, -1));

        jPanel1.add(SituacaojPanel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 70, 300, 50));

        jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder("Consulta por Data"));
        jPanel4.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel2.setText("Data Emissão");
        jPanel4.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 20, -1, -1));

        jLabel3.setText("Data Vencimento");
        jPanel4.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 20, -1, -1));
        jPanel4.add(jDateChooser3, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 37, 110, -1));
        jPanel4.add(jDateChooser4, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 37, 110, -1));

        jLabel4.setText("ou");
        jPanel4.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 40, -1, -1));

        jPanel1.add(jPanel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 120, 300, 70));

        jPanel5.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel5.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/magnifier.png"))); // NOI18N
        jButton1.setText("Pesquisar");
        jPanel5.add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 10, -1, -1));

        jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/cross.png"))); // NOI18N
        jButton2.setText("Fechar");
        jPanel5.add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 10, -1, -1));

        jPanel1.add(jPanel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 200, 300, 50));

        getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 320, 270));

        pack();
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel SituacaojPanel;
    private javax.swing.JPanel consultaPeriodojPanel;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private com.toedter.calendar.JDateChooser jDateChooser1;
    private com.toedter.calendar.JDateChooser jDateChooser2;
    private com.toedter.calendar.JDateChooser jDateChooser3;
    private com.toedter.calendar.JDateChooser jDateChooser4;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JRadioButton jRadioButton1;
    private javax.swing.JRadioButton jRadioButton2;
    private javax.swing.JRadioButton jRadioButton3;
    private javax.swing.ButtonGroup situacaobuttonGroup;
    // End of variables declaration//GEN-END:variables

}
